﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using UMLSynthesizer.Tasks.DiagramElements.Components;

namespace UMLSynthesizer.Tasks.DiagramElements.Objects
{
    public class ClassObject : DiagramObjectBase
    {
        #region Public interface

        public ClassObject(string name)
            : base(ElementKinds.Class, name)
        {
            Attributes = new AttributeComponent[0];
            Methods = new MethodComponent[0];
        }

        #endregion

        #region Properties

        public IEnumerable<AttributeComponent> Attributes { get; set; }
        public bool IsAbstract { get; set; }
        public IEnumerable<MethodComponent> Methods { get; set; }
        public DiagramElementBase.Visibilities Visibility { get; set; }

        #endregion
    }
}
